def generateTest():
    x = 1
    for i in range(10):
        yield x + i


tmp = generateTest()
print(tmp, type(tmp))

for t in tmp:
    print(t)